package com.youth.banner;


import ohos.agp.components.AttrSet;
import ohos.agp.components.ScrollView;
import ohos.app.Context;

public class BannerScroller extends ScrollView {
    private int mDuration = BannerConfig.DURATION;

    public BannerScroller(Context context) {
        super(context);
    }

    public BannerScroller(Context context, AttrSet attrSet) {
        super(context, attrSet);
    }

    public BannerScroller(Context context, AttrSet attrSet, String sn) {
        super(context, attrSet, sn);
    }


    public void setDuration(int time) {
        mDuration = time;
    }

}
